<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
    <meta name="theme-color" content="#222">
    <meta name="generator" content="Hexo 5.4.0">


    <link rel="apple-touch-icon" sizes="180x180" href="/myblog/images/apple-touch-icon-next.png">
    <link rel="icon" type="image/png" sizes="32x32" href="/myblog/images/favicon-32x32-next.png">
    <link rel="icon" type="image/png" sizes="16x16" href="/myblog/images/favicon-16x16-next.png">
    <link rel="mask-icon" href="/myblog/images/logo.svg" color="#222">

    <link rel="stylesheet" href="/myblog/css/main.css">



    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.15.3/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.1.1/animate.min.css">

    <script class="hexo-configurations">
        var NexT = window.NexT || {};
        var CONFIG = {
            "hostname": "baweifan.gitee.io",
            "root": "/myblog/",
            "images": "/myblog/images",
            "scheme": "Pisces",
            "version": "8.3.0",
            "exturl": false,
            "sidebar": {
                "position": "left",
                "display": "post",
                "padding": 18,
                "offset": 12
            },
            "copycode": false,
            "bookmark": {
                "enable": false,
                "color": "#222",
                "save": "auto"
            },
            "fancybox": false,
            "mediumzoom": false,
            "lazyload": false,
            "pangu": false,
            "comments": {
                "style": "tabs",
                "active": null,
                "storage": true,
                "lazyload": false,
                "nav": null
            },
            "motion": {
                "enable": true,
                "async": false,
                "transition": {
                    "post_block": "fadeIn",
                    "post_header": "fadeInDown",
                    "post_body": "fadeInDown",
                    "coll_header": "fadeInLeft",
                    "sidebar": "fadeInUp"
                }
            },
            "prism": false,
            "i18n": {
                "placeholder": "搜索...",
                "empty": "没有找到任何搜索结果：${query}",
                "hits_time": "找到 ${hits} 个搜索结果（用时 ${time} 毫秒）",
                "hits": "找到 ${hits} 个搜索结果"
            }
        };
    </script>
    <meta property="og:type" content="website">
    <meta property="og:title" content="IT教育">
    <meta property="og:url" content="http://baweifan.gitee.io/myblog/index.html">
    <meta property="og:site_name" content="IT教育">
    <meta property="og:locale" content="zh_CN">
    <meta property="article:author" content="大海老师">
    <meta name="twitter:card" content="summary">


    <link rel="canonical" href="http://baweifan.gitee.io/myblog/">


    <script class="page-configurations">
        // https://hexo.io/docs/variables.html
        CONFIG.page = {
            sidebar: "",
            isHome: true,
            isPost: false,
            lang: 'zh-CN'
        };
    </script>
    <title>IT教育</title>





    <noscript>
  <style>
  body { margin-top: 2rem; }

  .use-motion .menu-item,
  .use-motion .sidebar,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header {
    visibility: visible;
  }

  .use-motion .header,
  .use-motion .site-brand-container .toggle,
  .use-motion .footer { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle,
  .use-motion .custom-logo-image {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line {
    transform: scaleX(1);
  }

  .search-pop-overlay, .sidebar-nav { display: none; }
  .sidebar-panel { display: block; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
    <div class="headband"></div>

    <main class="main">
        <header class="header" itemscope itemtype="http://schema.org/WPHeader">
            <div class="header-inner">
                <div class="site-brand-container">
                    <div class="site-nav-toggle">
                        <div class="toggle" aria-label="切换导航栏" role="button">
                            <span class="toggle-line"></span>
                            <span class="toggle-line"></span>
                            <span class="toggle-line"></span>
                        </div>
                    </div>

                    <div class="site-meta">

                        <a href="/myblog/" class="brand" rel="start">
                            <i class="logo-line"></i>
                            <h1 class="site-title">IT教育</h1>
                            <i class="logo-line"></i>
                        </a>
                    </div>

                    <div class="site-nav-right">
                        <div class="toggle popup-trigger">
                        </div>
                    </div>
                </div>



                <nav class="site-nav">
                    <ul class="main-menu menu">
                        <li class="menu-item menu-item-home"><a href="/myblog/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li>
                        <li class="menu-item menu-item-tags"><a href="/myblog/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li>
                        <li class="menu-item menu-item-categories"><a href="/myblog/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li>
                        <li class="menu-item menu-item-archives"><a href="/myblog/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li>
                    </ul>
                </nav>




            </div>


            <div class="toggle sidebar-toggle" role="button">
                <span class="toggle-line"></span>
                <span class="toggle-line"></span>
                <span class="toggle-line"></span>
            </div>

            <aside class="sidebar">

                <div class="sidebar-inner sidebar-overview-active">
                    <ul class="sidebar-nav">
                        <li class="sidebar-nav-toc">
                            文章目录
                        </li>
                        <li class="sidebar-nav-overview">
                            站点概览
                        </li>
                    </ul>

                    <div class="sidebar-panel-container">
                        <!--noindex-->
                        <div class="post-toc-wrap sidebar-panel">
                        </div>
                        <!--/noindex-->

                        <div class="site-overview-wrap sidebar-panel">
                            <div class="site-author site-overview-item animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
                                <img class="site-author-image" itemprop="image" alt="大海老师" src="/myblog/images/avatar.jpg">
                                <p class="site-author-name" itemprop="name">大海老师</p>
                                <div class="site-description" itemprop="description"></div>
                            </div>
                            <div class="site-state-wrap site-overview-item animated">
                                <nav class="site-state">
                                    <div class="site-state-item site-state-posts">
                                        <a href="/myblog/archives/">

                                            <span class="site-state-item-count">3</span>
                                            <span class="site-state-item-name">日志</span>
                                        </a>
                                    </div>
                                    <div class="site-state-item site-state-categories">
                                        <a href="/myblog/categories/">

                                            <span class="site-state-item-count">1</span>
                                            <span class="site-state-item-name">分类</span></a>
                                    </div>
                                    <div class="site-state-item site-state-tags">
                                        <a href="/myblog/tags/">

                                            <span class="site-state-item-count">1</span>
                                            <span class="site-state-item-name">标签</span></a>
                                    </div>
                                </nav>
                            </div>
                            <div class="links-of-author site-overview-item animated">
                                <span class="links-of-author-item">
        <a href="https://github.com/yourname" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;yourname" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
                                <span class="links-of-author-item">
        <a href="https://weibo.com/yourname" title="Weibo → https:&#x2F;&#x2F;weibo.com&#x2F;yourname" rel="noopener" target="_blank"><i class="fab fa-weibo fa-fw"></i>Weibo</a>
      </span>
                            </div>



                        </div>
                    </div>
                </div>
            </aside>
            <div class="sidebar-dimmer"></div>


        </header>


        <div class="back-to-top" role="button" aria-label="返回顶部">
            <i class="fa fa-arrow-up"></i>
            <span>0%</span>
        </div>

        <noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>


        <div class="main-inner index posts-expand">




            <div class="post-block">



                <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
                    <link itemprop="mainEntityOfPage" href="http://baweifan.gitee.io/myblog/2021/04/03/day02/">

                    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/myblog/images/avatar.jpg">
      <meta itemprop="name" content="大海老师">
      <meta itemprop="description" content="">
    </span>

                    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="IT教育">
    </span>
                    <header class="post-header">
                        <h2 class="post-title" itemprop="name headline">
                            <a href="/myblog/2021/04/03/day02/" class="post-title-link" itemprop="url">Django复习</a>
                        </h2>

                        <div class="post-meta-container">
                            <div class="post-meta">
                                <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
                                <span class="post-meta-item-text">发表于</span>


                                <time title="创建时间：2021-04-03 21:13:28 / 修改时间：22:00:21" itemprop="dateCreated datePublished" datetime="2021-04-03T21:13:28+08:00">2021-04-03</time>
                                </span>


                            </div>

                        </div>
                    </header>




                    <div class="post-body" itemprop="articleBody">
                        <h2 id="1、BASE-DIR">
                            <a href="#1、BASE-DIR" class="headerlink" title="1、BASE_DIR"></a>1、BASE_DIR</h2>
                        <p>这里是 Django提供的 Django项目根目录–绝对路径</p>
                        <p>E:\workspace2021\shixun01\resp_2005A\WorkerOrder</p>
                        <p>如果我们在项目中要直接引入某包、文件则一定要保证其上级路径是在sys.path中。</p>
                        <p>这里我们把app都创建到了apps目录中，则需要把apps也添加到sys.path中</p>
                        <p>sys.path是一个查找路径列表，把apps路径添加到列表的第一个位置</p>
                        <figure class="highlight plain">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br></pre></td>
                                    <td class="code"><pre><span class="line">sys.path.insert(0, os.path.join(BASE_DIR, &quot;apps&quot;))</span><br></pre></td>
                                </tr>
                            </table>
                        </figure>





                        <p>2、配置django项目启动服务</p>
                        <h2 id="1、RESTFul接口风格">
                            <a href="#1、RESTFul接口风格" class="headerlink" title="1、RESTFul接口风格"></a>1、RESTFul接口风格</h2>
                        <p>早期设计是以功能为核心设计接口</p>
                        <p>/addBook 添加图书接口</p>
                        <p>/findBook 查询图书接口</p>
                        <p>/deleteBook 删除接口</p>
                        <p>/updateBook 更新接口</p>
                        <p>2000年的时候，Rest概念:表现层状态转移 </p>
                        <p>以资源为核心设计路径，以HTTP动词来做资源的状态改变</p>
                        <p>以RESTful设计接口</p>
                        <p>/books 图书资源接口</p>
                        <p>​ GET</p>
                        <p>​ POST</p>
                        <p>​ DELETE</p>
                        <p>​ PUT</p>
                        <p>查询资源列表 、添加资源</p>
                        <p>查询单个、修改、删除 都需要资源的ID</p>
                        <h2 id="2、Mixin类">
                            <a href="#2、Mixin类" class="headerlink" title="2、Mixin类"></a>2、Mixin类</h2>
                        <p>1、RetrieveModelMixin类</p>
                        <p>需要pk，提供了查询单个的方法 retrieve</p>
                        <p>2、ListModelMixin类</p>
                        <p>提供了查询列表的方法 list</p>
                        <p>3、CreateModelMixin类</p>
                        <p>提供了创建的方法 create</p>
                        <p>4、UpdateModelMixin类</p>
                        <p>需要pk，提供了更新的方法update 和部分更新partial_update</p>
                        <p>5、DestroyModelMixin类</p>
                        <p>需要pk，提供了删除的方法destory</p>
                        <h2 id="3、GenericAPIView类">
                            <a href="#3、GenericAPIView类" class="headerlink" title="3、GenericAPIView类"></a>3、GenericAPIView类</h2>
                        <p>该类是APIView的子类，封装更严谨</p>
                        <p>1、常用属性</p>
                        <figure class="highlight plain">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td>
                                    <td class="code"><pre><span class="line">serializer_class &#x3D; TypeSer</span><br><span class="line"># 相应的查询集</span><br><span class="line">queryset &#x3D; Type.objects.all()</span><br></pre></td>
                                </tr>
                            </table>
                        </figure>

                        <p>2、常用方法</p>
                        <figure class="highlight plain">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td>
                                    <td class="code"><pre><span class="line">def get_queryset(self):</span><br><span class="line">    pass</span><br><span class="line"></span><br><span class="line">def get_serializer_class(self):</span><br><span class="line">    pass</span><br></pre></td>
                                </tr>
                            </table>
                        </figure>

                        <p>当serializer_class 或queryset 属性 满足不了要求的时候，可以使用</p>
                        <figure class="highlight plain">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td>
                                    <td class="code"><pre><span class="line">get_queryset方法替代 queryset 属性 提供值</span><br><span class="line">get_serializer_class方法替代 serializer_class 属性 提供值</span><br></pre></td>
                                </tr>
                            </table>
                        </figure>

                        <p>​ </p>


                    </div>





                    <footer class="post-footer">
                        <div class="post-eof"></div>

                    </footer>
                </article>
            </div>







            <div class="post-block">



                <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
                    <link itemprop="mainEntityOfPage" href="http://baweifan.gitee.io/myblog/2021/04/03/2006-day01/">

                    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/myblog/images/avatar.jpg">
      <meta itemprop="name" content="大海老师">
      <meta itemprop="description" content="">
    </span>

                    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="IT教育">
    </span>
                    <header class="post-header">
                        <h2 class="post-title" itemprop="name headline">
                            <a href="/myblog/2021/04/03/2006-day01/" class="post-title-link" itemprop="url">Linux常用命令</a>
                        </h2>

                        <div class="post-meta-container">
                            <div class="post-meta">
                                <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
                                <span class="post-meta-item-text">发表于</span>


                                <time title="创建时间：2021-04-03 21:06:45 / 修改时间：21:11:17" itemprop="dateCreated datePublished" datetime="2021-04-03T21:06:45+08:00">2021-04-03</time>
                                </span>
                                <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
                                <span class="post-meta-item-text">分类于</span>
                                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/myblog/categories/%E5%8F%82%E8%80%83%E8%B5%84%E6%96%99/" itemprop="url" rel="index"><span itemprop="name">参考资料</span></a>
                                </span>
                                </span>


                            </div>

                        </div>
                    </header>




                    <div class="post-body" itemprop="articleBody">
                        <h3 id="1、系统命令">
                            <a href="#1、系统命令" class="headerlink" title="1、系统命令"></a>1、系统命令</h3>
                        <p>runlevel # 查看当前的运行级别</p>
                        <p>systemctl status firewalld # 开启服务功能 </p>
                        <p>​ stop # 关闭</p>
                        <p>​ restart # 重启</p>
                        <p>​ reload # 重载</p>
                        <p>reboot # 重启</p>
                        <p>halt # 关机</p>
                        <p>poweroff # 关机</p>
                        <h3 id="2、查看文件指令">
                            <a href="#2、查看文件指令" class="headerlink" title="2、查看文件指令"></a>2、查看文件指令</h3>
                        <p>找一个大文件去验证</p>
                        <p>cat # 在命令提示符下查看文件内容</p>
                        <p>more # 在命令提示符中分页查看文件内容</p>
                        <p>less # 命令行中查看文件可以上下翻页反复浏览</p>
                        <p>head # 命令行中查看文件头几行</p>
                        <p>tail # 命令行中查看文件尾几行</p>
                        <p>wc # 统计文件的单词数 行数等信息</p>
                        <h3 id="3、目录管理指令">
                            <a href="#3、目录管理指令" class="headerlink" title="3、目录管理指令"></a>3、目录管理指令</h3>
                        <p>pwd # 查看你当前所在的目录</p>
                        <p>cd # 切换目录</p>
                        <p>ls # 查看显示目录的内容</p>
                        <p>du # 统计目录和文件空间的占用情况</p>
                        <p>mkdir # 创建新目录</p>
                        <p>rmdir # 删除空目录</p>
                        <p>touch # 创建文件</p>
                        <p>rm # 删除文件</p>
                        <p>ln # 创建硬链接 比较意思</p>
                        <p>ln -s # 创建软链接</p>
                        <p>cp # 复制文件或目录</p>
                        <p>mv # 移动文件或目录 </p>
                        <p>which # 查看linux命令所在的目录</p>
                        <p>复制代码</p>
                        <h3 id="4、账号与权限">
                            <a href="#4、账号与权限" class="headerlink" title="4、账号与权限"></a>4、账号与权限</h3>
                        <p>‘’’1.组管理’’’</p>
                        <p>groupadd group_name # 创建一个新用户组 </p>
                        <p>groupdel group_name # 删除一个用户组 </p>
                        <p>groupmod -n new_group_name old_group_name # 重命名一个用户组</p>
                        <p>‘’’2.用户管理’’’ 没有自定义主目录</p>
                        <p>useradd zhangsan # 创建账户张三</p>
                        <p>passwd zhangsan # 给用户设置密码</p>
                        <p>userdel -r zhangsan # 删除张三及他的宿主目录</p>
                        <p>‘’’3.用户组管理’’’</p>
                        <p>gpasswd -a zhangsan root # 将张三用户加入root组</p>
                        <p>groups zhangsan # 确认zhangsan用户在root组</p>
                        <p>gpasswd -d lisi root # 将李zhangsan户从root组中删除</p>
                        <p>‘’’4.权限管理’’’</p>
                        <p>chown -R zhangsan /aaa # 将文件夹/aaa的多有者修改为zhangsan</p>
                        <p>chown root:root /aaa # 将/aaa文件夹的属主和属组都改成root</p>
                        <p>chmod 777 /aaa # 给文件夹文件/aaa设置权限为777</p>
                        <p>Ubuntu 默认没有root账号</p>
                        <p>实操案例</p>
                        <p>实例： 查看防火墙开的端口号</p>
                        <p>1、关闭防火墙</p>
                        <p>2、开启防火墙</p>
                        <p>3、列出端口号</p>
                        <p>4、开启新的端口号</p>
                        <p>5、关闭端口号</p>
                        <p>查看ip</p>
                        <p>适应外部工具连接 </p>
                        <p>安装一个软件redis</p>
                        <p>可以通过 本地电脑访问到</p>


                    </div>





                    <footer class="post-footer">
                        <div class="post-eof"></div>

                    </footer>
                </article>
            </div>







            <div class="post-block">



                <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
                    <link itemprop="mainEntityOfPage" href="http://baweifan.gitee.io/myblog/2021/04/03/hello-world/">

                    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/myblog/images/avatar.jpg">
      <meta itemprop="name" content="大海老师">
      <meta itemprop="description" content="">
    </span>

                    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="IT教育">
    </span>
                    <header class="post-header">
                        <h2 class="post-title" itemprop="name headline">
                            <a href="/myblog/2021/04/03/hello-world/" class="post-title-link" itemprop="url">Hello World</a>
                        </h2>

                        <div class="post-meta-container">
                            <div class="post-meta">
                                <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
                                <span class="post-meta-item-text">发表于</span>

                                <time title="创建时间：2021-04-03 20:34:06" itemprop="dateCreated datePublished" datetime="2021-04-03T20:34:06+08:00">2021-04-03</time>
                                </span>


                            </div>

                        </div>
                    </header>




                    <div class="post-body" itemprop="articleBody">
                        <p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems
                            when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
                        <h2 id="Quick-Start">
                            <a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2>
                        <h3 id="Create-a-new-post">
                            <a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3>
                        <figure class="highlight bash">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br></pre></td>
                                    <td class="code"><pre><span class="line">$ hexo new <span class="string">&quot;My New Post&quot;</span></span><br></pre></td>
                                </tr>
                            </table>
                        </figure>

                        <p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
                        <h3 id="Run-server">
                            <a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3>
                        <figure class="highlight bash">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br></pre></td>
                                    <td class="code"><pre><span class="line">$ hexo server</span><br></pre></td>
                                </tr>
                            </table>
                        </figure>

                        <p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
                        <h3 id="Generate-static-files">
                            <a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3>
                        <figure class="highlight bash">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br></pre></td>
                                    <td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td>
                                </tr>
                            </table>
                        </figure>

                        <p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
                        <h3 id="Deploy-to-remote-sites">
                            <a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3>
                        <figure class="highlight bash">
                            <table>
                                <tr>
                                    <td class="gutter"><pre><span class="line">1</span><br></pre></td>
                                    <td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td>
                                </tr>
                            </table>
                        </figure>

                        <p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>


                    </div>





                    <footer class="post-footer">
                        <div class="post-eof"></div>

                    </footer>
                </article>
            </div>






            <script>
                window.addEventListener('tabs:register', () => {
                    let {
                        activeClass
                    } = CONFIG.comments;
                    if (CONFIG.comments.storage) {
                        activeClass = localStorage.getItem('comments_active') || activeClass;
                    }
                    if (activeClass) {
                        const activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
                        if (activeTab) {
                            activeTab.click();
                        }
                    }
                });
                if (CONFIG.comments.storage) {
                    window.addEventListener('tabs:click', event => {
                        if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
                        const commentClass = event.target.classList[1];
                        localStorage.setItem('comments_active', commentClass);
                    });
                }
            </script>
        </div>
    </main>

    <footer class="footer">
        <div class="footer-inner">


            <div class="copyright">
                &copy;
                <span itemprop="copyrightYear">2021</span>
                <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
                <span class="author" itemprop="copyrightHolder">大海老师</span>
            </div>
            <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">积云</a> & <a href="https://theme-next.js.org/pisces/" class="theme-link" rel="noopener" target="_blank">NexT.Pisces</a> 强力驱动
            </div>

        </div>
    </footer>


    <script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
    <script src="/myblog/js/utils.js"></script>
    <script src="/myblog/js/motion.js"></script>
    <script src="/myblog/js/next-boot.js"></script>














</body>

</html>